package com.dec.kafka.offset.reset;

public class SubstrDemo {

    public static void main(String[] args) {
        String key ="T00201";
        String plt_type_code =key.substring(0,4);
        String set_code = key.substring(4,6);
        System.out.println(plt_type_code);
        System.out.println(set_code);
    }
}
